cmake_minimum_required(VERSION 3.26)
project(Calculator)

set(CMAKE_CXX_STANDARD 17)

add_executable(Calculator main.cpp
        Calc/Evaluable.h
        Calc/Operator.cpp
        Calc/Operator.h
        Calc/Num.cpp
        Calc/Num.h
        Calc/Function/Function.cpp
        Calc/Function/Function.h
        Calc/_Calc_.h
        Translator/Slicer/Slicer.cpp
        Translator/Slicer/Slicer.h
        const/const.h
        const/Nums.cpp
        const/Operators.cpp
        Translator/import.h
        Translator/export.h
        Translator/Tokenize/tokenizer.cpp
        Translator/Tokenize/Tokenizer.h
        Translator/Slicer/Slicer.cpp
        Translator/Tokenize/DoubleConverter.cpp
        Translator/Tokenize/DoubleConverter.h
        Translator/Tokenize/Converter.h
        Translator/lexer/Lexer.cpp
        Translator/lexer/Lexer.h
        Translator/Translate.cpp
        const/Funcs/ListTool/functions.cpp
        const/Funcs/Triangle/functions.cpp
        Translator/lexer/FunctionExtract.cpp
        Translator/lexer/negationOptimize.cpp
        Calculator/Calculator.cpp
        Calculator/Calculator.h
        const/Funcs/ListTool/ListTool.h
        const/Funcs/Triangle/Triangle.h
        const/Functions.h
        Calculator/FunLibController.cpp
)
